PROJECT(kinect-3d-slam)

CMAKE_MINIMUM_REQUIRED(VERSION 2.4)

if(COMMAND cmake_policy)
	cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

include_directories("include")

FIND_PACKAGE(MRPT REQUIRED base slam hwdrivers gui maps vision)
FIND_PACKAGE(OpenCV REQUIRED)

ADD_EXECUTABLE(kinect-3d-slam
	src/main.cpp
	)

TARGET_LINK_LIBRARIES(kinect-3d-slam ${MRPT_LIBS})

